package com.isoft.service.user;

import com.isoft.entity.user.User;
import com.isoft.entity.vo.LoginParam;

import java.util.List;

/**
 * @author LiuGaoMing
 * @version 1.0
 * @description:用户信息服务层
 * @date 2024/6/3 11:51
 */
public interface UserService {
    User Login(String username, String password);

    User vipLogin(String username, String password);

    User commonLogin(String username, String password);

    Boolean add(User user);
    Boolean update(LoginParam loginParam);
    Boolean delete(Integer id);
    List<User> selectUserByUsername(String username);

    //    分页查询
    List<User> findUserInfoByPage(Integer currentPage, Integer pageSize);

    Long selectUserInfoCount();

    Boolean updateUserInfo(User user);

    Integer selectAuthority(Integer userid);


}
